package d6_map_impl;

/**
 * @Author:Cjj
 * @Date:2025/5/26
 */
public class book {
    public static void main(String[] args) {
        System.out.println("hello world");
        System.out.println("hello world");
        book book = new book();
        System.out.println(book.toString());


      Student student=new Student("一亿", 18, 1.88);
        System.out.println(student.toString());
        System.out.println(student.getName());
        System.out.println(student.getAge());
        System.out.println(student.getHeight());


        Student s=new Student("伞",19,2.55);
        System.out.println(s);
        System.out.println(s.compareTo(student));
        System.out.println(student.compareTo(s));
        System.out.println(student.compareTo(student));
        System.out.println(s.compareTo(student));

        System.out.println("---------------------------");

    }
}
